<%@ page language="java"
	import="java.util.*,java.lang.*,com.firesrc.bean.Record"
	contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>关键字详细邮箱列表</title>
</head>
<body>
	<h3>关键字详细邮箱列表</h3>
	<%
	Set<Record> set = (Set) request.getAttribute("set");
		String keywordName = (String) request.getAttribute("keywordName");
	%>你查的关键字是:<font color="blue" size="4"> <%= keywordName%></font> 一共是 <font color="blue" size="4"><%= set.size() %></font> 条,具体如下:<br/> 
	
	<textarea rows="10" cols="140"><%
					for (Record record : set)  {
				%><%=record.getMail()%>;<%} %>
				
				</textarea>  <br/>
	<form action="" >
		<input type="hidden" name="type" value="add">
		<table border="1">
			<tbody align="left">
				<tr>
					<td>关键字</td>
					<td>邮箱</td>
					<td>网址</td>
				</tr>
				<%
					for (Record record : set)  {
				%>
				<tr>
					<td><%=record.getKeyword()%></td>
					<td><%=record.getMail()%></td>
					<td><%=record.getUrl()%></td>
					
				</tr>
				<%
					}
				%>
			</tbody>
		</table>
	</form>
</body>
</html>